<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<TITLE>
JpegDirectory (Metadata-Extractor - JavaDoc - An Open Source Java Library for Image File Metadata)
</TITLE>

<META NAME="keywords" CONTENT="com.drew.metadata.jpeg.JpegDirectory class">

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">

<SCRIPT type="text/javascript">
function windowTitle()
{
    parent.document.title="JpegDirectory (Metadata-Extractor - JavaDoc - An Open Source Java Library for Image File Metadata)";
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>

</HEAD>

<BODY BGCOLOR="white" onload="windowTitle();">


<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/JpegDirectory.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
<a href='http://www.drewnoakes.com/code/exif/' title='Go to the project home page.'><img src='http://metadata-extractor.googlecode.com/git/Resources/metadata-extractor-logo-131x30.png' border=0 alt='Metadata Extractor Logo'></a></EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/drew/metadata/jpeg/JpegDescriptor.html" title="class in com.drew.metadata.jpeg"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/drew/metadata/jpeg/JpegReader.html" title="class in com.drew.metadata.jpeg"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/drew/metadata/jpeg/JpegDirectory.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="JpegDirectory.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
com.drew.metadata.jpeg</FONT>
<BR>
Class JpegDirectory</H2>
<PRE>
java.lang.Object
  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/drew/metadata/Directory.html" title="class in com.drew.metadata">com.drew.metadata.Directory</A>
      <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.drew.metadata.jpeg.JpegDirectory</B>
</PRE>
<HR>
<DL>
<DT><PRE>public class <B>JpegDirectory</B><DT>extends <A HREF="../../../../com/drew/metadata/Directory.html" title="class in com.drew.metadata">Directory</A></DL>
</PRE>

<P>
Directory of tags and values for the SOF0 Jpeg segment.  This segment holds basic metadata about the image.
<P>

<P>
<DL>
<DT><B>Author:</B></DT>
  <DD>Darrell Silver http://www.darrellsilver.com and Drew Noakes http://drewnoakes.com</DD>
</DL>
<HR>

<P>
<!-- =========== FIELD SUMMARY =========== -->

<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Field Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected static&nbsp;java.util.HashMap&lt;java.lang.Integer,java.lang.String&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/drew/metadata/jpeg/JpegDirectory.html#_tagNameMap">_tagNameMap</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/drew/metadata/jpeg/JpegDirectory.html#TAG_JPEG_COMPONENT_DATA_1">TAG_JPEG_COMPONENT_DATA_1</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the first of a possible 4 color components.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/drew/metadata/jpeg/JpegDirectory.html#TAG_JPEG_COMPONENT_DATA_2">TAG_JPEG_COMPONENT_DATA_2</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the second of a possible 4 color components.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/drew/metadata/jpeg/JpegDirectory.html#TAG_JPEG_COMPONENT_DATA_3">TAG_JPEG_COMPONENT_DATA_3</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the third of a possible 4 color components.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/drew/metadata/jpeg/JpegDirectory.html#TAG_JPEG_COMPONENT_DATA_4">TAG_JPEG_COMPONENT_DATA_4</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the fourth of a possible 4 color components.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/drew/metadata/jpeg/JpegDirectory.html#TAG_JPEG_COMPRESSION_TYPE">TAG_JPEG_COMPRESSION_TYPE</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/drew/metadata/jpeg/JpegDirectory.html#TAG_JPEG_DATA_PRECISION">TAG_JPEG_DATA_PRECISION</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is in bits/sample, usually 8 (12 and 16 not supported by most software).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/drew/metadata/jpeg/JpegDirectory.html#TAG_JPEG_IMAGE_HEIGHT">TAG_JPEG_IMAGE_HEIGHT</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The image's height.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/drew/metadata/jpeg/JpegDirectory.html#TAG_JPEG_IMAGE_WIDTH">TAG_JPEG_IMAGE_WIDTH</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The image's width.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/drew/metadata/jpeg/JpegDirectory.html#TAG_JPEG_NUMBER_OF_COMPONENTS">TAG_JPEG_NUMBER_OF_COMPONENTS</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Usually 1 = grey scaled, 3 = color YcbCr or YIQ, 4 = color CMYK
 Each component TAG_COMPONENT_DATA_[1-4], has the following meaning:
 component Id(1byte)(1 = Y, 2 = Cb, 3 = Cr, 4 = I, 5 = Q),
 sampling factors (1byte) (bit 0-3 vertical., 4-7 horizontal.),
 quantization table number (1 byte).</TD>
</TR>
</TABLE>
&nbsp;<A NAME="fields_inherited_from_class_com.drew.metadata.Directory"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Fields inherited from class com.drew.metadata.<A HREF="../../../../com/drew/metadata/Directory.html" title="class in com.drew.metadata">Directory</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/drew/metadata/Directory.html#_definedTagList">_definedTagList</A>, <A HREF="../../../../com/drew/metadata/Directory.html#_descriptor">_descriptor</A>, <A HREF="../../../../com/drew/metadata/Directory.html#_tagMap">_tagMap</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->

<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/drew/metadata/jpeg/JpegDirectory.html#JpegDirectory()">JpegDirectory</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/drew/metadata/jpeg/JpegComponent.html" title="class in com.drew.metadata.jpeg">JpegComponent</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/drew/metadata/jpeg/JpegDirectory.html#getComponent(int)">getComponent</A></B>(int&nbsp;componentNumber)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/drew/metadata/jpeg/JpegDirectory.html#getImageHeight()">getImageHeight</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/drew/metadata/jpeg/JpegDirectory.html#getImageWidth()">getImageWidth</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/drew/metadata/jpeg/JpegDirectory.html#getName()">getName</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Provides the name of the directory, for display purposes.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/drew/metadata/jpeg/JpegDirectory.html#getNumberOfComponents()">getNumberOfComponents</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;java.util.HashMap&lt;java.lang.Integer,java.lang.String&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/drew/metadata/jpeg/JpegDirectory.html#getTagNameMap()">getTagNameMap</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Provides the map of tag names, hashed by tag type identifier.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.drew.metadata.Directory"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class com.drew.metadata.<A HREF="../../../../com/drew/metadata/Directory.html" title="class in com.drew.metadata">Directory</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/drew/metadata/Directory.html#addError(java.lang.String)">addError</A>, <A HREF="../../../../com/drew/metadata/Directory.html#containsTag(int)">containsTag</A>, <A HREF="../../../../com/drew/metadata/Directory.html#getBoolean(int)">getBoolean</A>, <A HREF="../../../../com/drew/metadata/Directory.html#getBooleanObject(int)">getBooleanObject</A>, <A HREF="../../../../com/drew/metadata/Directory.html#getByteArray(int)">getByteArray</A>, <A HREF="../../../../com/drew/metadata/Directory.html#getDate(int)">getDate</A>, <A HREF="../../../../com/drew/metadata/Directory.html#getDate(int, java.util.TimeZone)">getDate</A>, <A HREF="../../../../com/drew/metadata/Directory.html#getDescription(int)">getDescription</A>, <A HREF="../../../../com/drew/metadata/Directory.html#getDouble(int)">getDouble</A>, <A HREF="../../../../com/drew/metadata/Directory.html#getDoubleObject(int)">getDoubleObject</A>, <A HREF="../../../../com/drew/metadata/Directory.html#getErrorCount()">getErrorCount</A>, <A HREF="../../../../com/drew/metadata/Directory.html#getErrors()">getErrors</A>, <A HREF="../../../../com/drew/metadata/Directory.html#getFloat(int)">getFloat</A>, <A HREF="../../../../com/drew/metadata/Directory.html#getFloatObject(int)">getFloatObject</A>, <A HREF="../../../../com/drew/metadata/Directory.html#getInt(int)">getInt</A>, <A HREF="../../../../com/drew/metadata/Directory.html#getIntArray(int)">getIntArray</A>, <A HREF="../../../../com/drew/metadata/Directory.html#getInteger(int)">getInteger</A>, <A HREF="../../../../com/drew/metadata/Directory.html#getLong(int)">getLong</A>, <A HREF="../../../../com/drew/metadata/Directory.html#getLongObject(int)">getLongObject</A>, <A HREF="../../../../com/drew/metadata/Directory.html#getObject(int)">getObject</A>, <A HREF="../../../../com/drew/metadata/Directory.html#getRational(int)">getRational</A>, <A HREF="../../../../com/drew/metadata/Directory.html#getRationalArray(int)">getRationalArray</A>, <A HREF="../../../../com/drew/metadata/Directory.html#getString(int)">getString</A>, <A HREF="../../../../com/drew/metadata/Directory.html#getString(int, java.lang.String)">getString</A>, <A HREF="../../../../com/drew/metadata/Directory.html#getStringArray(int)">getStringArray</A>, <A HREF="../../../../com/drew/metadata/Directory.html#getTagCount()">getTagCount</A>, <A HREF="../../../../com/drew/metadata/Directory.html#getTagName(int)">getTagName</A>, <A HREF="../../../../com/drew/metadata/Directory.html#getTags()">getTags</A>, <A HREF="../../../../com/drew/metadata/Directory.html#hasErrors()">hasErrors</A>, <A HREF="../../../../com/drew/metadata/Directory.html#setBoolean(int, boolean)">setBoolean</A>, <A HREF="../../../../com/drew/metadata/Directory.html#setByteArray(int, byte[])">setByteArray</A>, <A HREF="../../../../com/drew/metadata/Directory.html#setDate(int, java.util.Date)">setDate</A>, <A HREF="../../../../com/drew/metadata/Directory.html#setDescriptor(com.drew.metadata.TagDescriptor)">setDescriptor</A>, <A HREF="../../../../com/drew/metadata/Directory.html#setDouble(int, double)">setDouble</A>, <A HREF="../../../../com/drew/metadata/Directory.html#setDoubleArray(int, double[])">setDoubleArray</A>, <A HREF="../../../../com/drew/metadata/Directory.html#setFloat(int, float)">setFloat</A>, <A HREF="../../../../com/drew/metadata/Directory.html#setFloatArray(int, float[])">setFloatArray</A>, <A HREF="../../../../com/drew/metadata/Directory.html#setInt(int, int)">setInt</A>, <A HREF="../../../../com/drew/metadata/Directory.html#setIntArray(int, int[])">setIntArray</A>, <A HREF="../../../../com/drew/metadata/Directory.html#setLong(int, long)">setLong</A>, <A HREF="../../../../com/drew/metadata/Directory.html#setObject(int, java.lang.Object)">setObject</A>, <A HREF="../../../../com/drew/metadata/Directory.html#setObjectArray(int, java.lang.Object)">setObjectArray</A>, <A HREF="../../../../com/drew/metadata/Directory.html#setRational(int, com.drew.lang.Rational)">setRational</A>, <A HREF="../../../../com/drew/metadata/Directory.html#setRationalArray(int, com.drew.lang.Rational[])">setRationalArray</A>, <A HREF="../../../../com/drew/metadata/Directory.html#setString(int, java.lang.String)">setString</A>, <A HREF="../../../../com/drew/metadata/Directory.html#setStringArray(int, java.lang.String[])">setStringArray</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ============ FIELD DETAIL =========== -->

<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Field Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="TAG_JPEG_COMPRESSION_TYPE"><!-- --></A><H3>
TAG_JPEG_COMPRESSION_TYPE</H3>
<PRE>
public static final int <B>TAG_JPEG_COMPRESSION_TYPE</B></PRE>
<DL>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.drew.metadata.jpeg.JpegDirectory.TAG_JPEG_COMPRESSION_TYPE">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="TAG_JPEG_DATA_PRECISION"><!-- --></A><H3>
TAG_JPEG_DATA_PRECISION</H3>
<PRE>
public static final int <B>TAG_JPEG_DATA_PRECISION</B></PRE>
<DL>
<DD>This is in bits/sample, usually 8 (12 and 16 not supported by most software).
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.drew.metadata.jpeg.JpegDirectory.TAG_JPEG_DATA_PRECISION">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="TAG_JPEG_IMAGE_HEIGHT"><!-- --></A><H3>
TAG_JPEG_IMAGE_HEIGHT</H3>
<PRE>
public static final int <B>TAG_JPEG_IMAGE_HEIGHT</B></PRE>
<DL>
<DD>The image's height.  Necessary for decoding the image, so it should always be there.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.drew.metadata.jpeg.JpegDirectory.TAG_JPEG_IMAGE_HEIGHT">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="TAG_JPEG_IMAGE_WIDTH"><!-- --></A><H3>
TAG_JPEG_IMAGE_WIDTH</H3>
<PRE>
public static final int <B>TAG_JPEG_IMAGE_WIDTH</B></PRE>
<DL>
<DD>The image's width.  Necessary for decoding the image, so it should always be there.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.drew.metadata.jpeg.JpegDirectory.TAG_JPEG_IMAGE_WIDTH">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="TAG_JPEG_NUMBER_OF_COMPONENTS"><!-- --></A><H3>
TAG_JPEG_NUMBER_OF_COMPONENTS</H3>
<PRE>
public static final int <B>TAG_JPEG_NUMBER_OF_COMPONENTS</B></PRE>
<DL>
<DD>Usually 1 = grey scaled, 3 = color YcbCr or YIQ, 4 = color CMYK
 Each component TAG_COMPONENT_DATA_[1-4], has the following meaning:
 component Id(1byte)(1 = Y, 2 = Cb, 3 = Cr, 4 = I, 5 = Q),
 sampling factors (1byte) (bit 0-3 vertical., 4-7 horizontal.),
 quantization table number (1 byte).
 <p/>
 This info is from http://www.funducode.com/freec/Fileformats/format3/format3b.htm
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.drew.metadata.jpeg.JpegDirectory.TAG_JPEG_NUMBER_OF_COMPONENTS">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="TAG_JPEG_COMPONENT_DATA_1"><!-- --></A><H3>
TAG_JPEG_COMPONENT_DATA_1</H3>
<PRE>
public static final int <B>TAG_JPEG_COMPONENT_DATA_1</B></PRE>
<DL>
<DD>the first of a possible 4 color components.  Number of components specified in TAG_JPEG_NUMBER_OF_COMPONENTS.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.drew.metadata.jpeg.JpegDirectory.TAG_JPEG_COMPONENT_DATA_1">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="TAG_JPEG_COMPONENT_DATA_2"><!-- --></A><H3>
TAG_JPEG_COMPONENT_DATA_2</H3>
<PRE>
public static final int <B>TAG_JPEG_COMPONENT_DATA_2</B></PRE>
<DL>
<DD>the second of a possible 4 color components.  Number of components specified in TAG_JPEG_NUMBER_OF_COMPONENTS.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.drew.metadata.jpeg.JpegDirectory.TAG_JPEG_COMPONENT_DATA_2">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="TAG_JPEG_COMPONENT_DATA_3"><!-- --></A><H3>
TAG_JPEG_COMPONENT_DATA_3</H3>
<PRE>
public static final int <B>TAG_JPEG_COMPONENT_DATA_3</B></PRE>
<DL>
<DD>the third of a possible 4 color components.  Number of components specified in TAG_JPEG_NUMBER_OF_COMPONENTS.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.drew.metadata.jpeg.JpegDirectory.TAG_JPEG_COMPONENT_DATA_3">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="TAG_JPEG_COMPONENT_DATA_4"><!-- --></A><H3>
TAG_JPEG_COMPONENT_DATA_4</H3>
<PRE>
public static final int <B>TAG_JPEG_COMPONENT_DATA_4</B></PRE>
<DL>
<DD>the fourth of a possible 4 color components.  Number of components specified in TAG_JPEG_NUMBER_OF_COMPONENTS.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.drew.metadata.jpeg.JpegDirectory.TAG_JPEG_COMPONENT_DATA_4">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="_tagNameMap"><!-- --></A><H3>
_tagNameMap</H3>
<PRE>
protected static final java.util.HashMap&lt;java.lang.Integer,java.lang.String&gt; <B>_tagNameMap</B></PRE>
<DL>
<DL>
</DL>
</DL>

<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="JpegDirectory()"><!-- --></A><H3>
JpegDirectory</H3>
<PRE>
public <B>JpegDirectory</B>()</PRE>
<DL>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="getName()"><!-- --></A><H3>
getName</H3>
<PRE>
public java.lang.String <B>getName</B>()</PRE>
<DL>
<DD><B>Description copied from class: <CODE><A HREF="../../../../com/drew/metadata/Directory.html#getName()">Directory</A></CODE></B></DD>
<DD>Provides the name of the directory, for display purposes.  E.g. <code>Exif</code>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/drew/metadata/Directory.html#getName()">getName</A></CODE> in class <CODE><A HREF="../../../../com/drew/metadata/Directory.html" title="class in com.drew.metadata">Directory</A></CODE></DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the name of the directory</DL>
</DD>
</DL>
<HR>

<A NAME="getTagNameMap()"><!-- --></A><H3>
getTagNameMap</H3>
<PRE>
protected java.util.HashMap&lt;java.lang.Integer,java.lang.String&gt; <B>getTagNameMap</B>()</PRE>
<DL>
<DD><B>Description copied from class: <CODE><A HREF="../../../../com/drew/metadata/Directory.html#getTagNameMap()">Directory</A></CODE></B></DD>
<DD>Provides the map of tag names, hashed by tag type identifier.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/drew/metadata/Directory.html#getTagNameMap()">getTagNameMap</A></CODE> in class <CODE><A HREF="../../../../com/drew/metadata/Directory.html" title="class in com.drew.metadata">Directory</A></CODE></DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the map of tag names</DL>
</DD>
</DL>
<HR>

<A NAME="getComponent(int)"><!-- --></A><H3>
getComponent</H3>
<PRE>
public <A HREF="../../../../com/drew/metadata/jpeg/JpegComponent.html" title="class in com.drew.metadata.jpeg">JpegComponent</A> <B>getComponent</B>(int&nbsp;componentNumber)</PRE>
<DL>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>componentNumber</CODE> - The zero-based index of the component.  This number is normally between 0 and 3.
                        Use getNumberOfComponents for bounds-checking.
<DT><B>Returns:</B><DD>the JpegComponent having the specified number.</DL>
</DD>
</DL>
<HR>

<A NAME="getImageWidth()"><!-- --></A><H3>
getImageWidth</H3>
<PRE>
public int <B>getImageWidth</B>()
                  throws <A HREF="../../../../com/drew/metadata/MetadataException.html" title="class in com.drew.metadata">MetadataException</A></PRE>
<DL>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../com/drew/metadata/MetadataException.html" title="class in com.drew.metadata">MetadataException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="getImageHeight()"><!-- --></A><H3>
getImageHeight</H3>
<PRE>
public int <B>getImageHeight</B>()
                   throws <A HREF="../../../../com/drew/metadata/MetadataException.html" title="class in com.drew.metadata">MetadataException</A></PRE>
<DL>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../com/drew/metadata/MetadataException.html" title="class in com.drew.metadata">MetadataException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="getNumberOfComponents()"><!-- --></A><H3>
getNumberOfComponents</H3>
<PRE>
public int <B>getNumberOfComponents</B>()
                          throws <A HREF="../../../../com/drew/metadata/MetadataException.html" title="class in com.drew.metadata">MetadataException</A></PRE>
<DL>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../com/drew/metadata/MetadataException.html" title="class in com.drew.metadata">MetadataException</A></CODE></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/JpegDirectory.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
<a href='http://www.drewnoakes.com/code/exif/' title='Go to the project home page.'><img src='http://metadata-extractor.googlecode.com/git/Resources/metadata-extractor-logo-131x30.png' border=0 alt='Metadata Extractor Logo'></a></EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/drew/metadata/jpeg/JpegDescriptor.html" title="class in com.drew.metadata.jpeg"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/drew/metadata/jpeg/JpegReader.html" title="class in com.drew.metadata.jpeg"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/drew/metadata/jpeg/JpegDirectory.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="JpegDirectory.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>
<i>Copyright &#169; 2003-2012 Drew Noakes. All Rights Reserved.</i>
<script src='http://www.google-analytics.com/urchin.js' type='text/javascript'></script>
<script type='text/javascript'>
_uacct = 'UA-936661-1';
urchinTracker();
</script>
</BODY>
</HTML>
